from django.contrib import admin
from cars.models import Car


@admin.register(Car)
class CarAdmin(admin.ModelAdmin):
    list_display = (
        "plate",
        "status",
        "begin_time",
        "end_time",
        "updated",
    )
    list_filter = ("status",)
    search_fields = ("plate",)
